package com.rc.saas.payment.alipay.vo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by sven on 2017/7/11.
 */
public class AlipayNotifyVo {
    //{gmt_create=2017-07-11 11:12:18, charset=utf-8, seller_email=finance@dzg0909.com, subject=大掌柜,
    //        sign=Gi3p2rp6mNpWImo0TctKXmLbTNY9baGGiN3LMfFbo+oPGKRFGzIItW9kTP1srb8MqiBQenjIF+4t1jOPvnxTV6nTGCDT9ixe3nerCZo+MW+Xq22E8rtojwiF2P1dMzQcl5uM23Rsx2mv6kpAOUWTvlzcl5mAca5mlLDFwtAtUIC2nhZyhk
    //        +Y43k2nF1FW3py8d3arAsrj0U+LTpKrFn0+UqDIsgRidnRP08Mcu39WUHwSZHNuh8A51O7KX9LAGLsGr61OP5AT6PichQ9GsHwG9TZH0Q7Cj3S63plrPoS2lm+w8rUP/XqWwjL9R4GEP1cAimkIFLIZfZaqzaHriZC8A==,
    //        buyer_id=2088702146107288, invoice_amount=0.01, notify_id=26112d9b971f95161ef2ab6becdfca9i5u,
    //        fund_bill_list=[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}], notify_type=trade_status_sync,
    //        trade_status=TRADE_SUCCESS, receipt_amount=0.01, app_id=2017070407641888, buyer_pay_amount=0.01,
    //        sign_type=RSA2, seller_id=2088721419734138, gmt_payment=2017-07-11 11:12:19,
    //        notify_time=2017-07-11 11:12:19, version=1.0, out_trade_no=PC20170711104309001395, total_amount=0.01,
    //        trade_no=2017071121001004280245196210, auth_app_id=2017070407641888, buyer_logon_id=183****7453,
    //        point_amount=0.00}

    private String app_id;
    private String gmt_create;//交易创建时间
    private String sign;
    private String sign_type;
    private String buyer_id; //买家支付宝用户号

    private BigDecimal receipt_amount;//商家在交易中实际收到的款项，单位为元
    private BigDecimal buyer_pay_amount;//用户在交易中支付的金额，当使用类似“蚂蚁花呗”时，buyer_pay_amount会少于receipt_amount
    private String trade_status;//交易状态

    private String seller_id; //卖家支付宝用户号
    private Date gmt_payment; //交易付款时间
    private Date notify_time; //通知的发送时间。格式为yyyy-MM-dd HH:mm:ss
    private String out_trade_no;//原支付请求的商户订单号
    private String trade_no;//支付宝交易凭证号

    //支付成功的各个渠道金额信息，详见下表 资金明细信息说明
    //private List<AlipayFundBill> fund_bill_list;

    private String notify_url;

    public String getApp_id() {
        return app_id;
    }

    public void setApp_id(String app_id) {
        this.app_id = app_id;
    }

    public String getGmt_create() {
        return gmt_create;
    }

    public void setGmt_create(String gmt_create) {
        this.gmt_create = gmt_create;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSign_type() {
        return sign_type;
    }

    public void setSign_type(String sign_type) {
        this.sign_type = sign_type;
    }

    public String getBuyer_id() {
        return buyer_id;
    }

    public void setBuyer_id(String buyer_id) {
        this.buyer_id = buyer_id;
    }

    public BigDecimal getReceipt_amount() {
        return receipt_amount;
    }

    public void setReceipt_amount(BigDecimal receipt_amount) {
        this.receipt_amount = receipt_amount;
    }

    public BigDecimal getBuyer_pay_amount() {
        return buyer_pay_amount;
    }

    public void setBuyer_pay_amount(BigDecimal buyer_pay_amount) {
        this.buyer_pay_amount = buyer_pay_amount;
    }

    public String getTrade_status() {
        return trade_status;
    }

    public void setTrade_status(String trade_status) {
        this.trade_status = trade_status;
    }

    public String getSeller_id() {
        return seller_id;
    }

    public void setSeller_id(String seller_id) {
        this.seller_id = seller_id;
    }

    public Date getGmt_payment() {
        return gmt_payment;
    }

    public void setGmt_payment(Date gmt_payment) {
        this.gmt_payment = gmt_payment;
    }

    public Date getNotify_time() {
        return notify_time;
    }

    public void setNotify_time(Date notify_time) {
        this.notify_time = notify_time;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getTrade_no() {
        return trade_no;
    }

    public void setTrade_no(String trade_no) {
        this.trade_no = trade_no;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }
}
